const tableConfig = {
	stripe: true,
	border: true,
	maxHeight: '80vh',
	columns: [
		{ label: '运营机构或设施', prop: 'name' },
		{ label: '合同起始日期', prop: 'idCard' },
		{ label: '联系人', prop: 'phone' },
		{
			label: '操作',
			prop: 'menu',
			width: 300,
			fixed: 'right',
		},
	],
}

export const baseConfig = {
	pageName: '运营记录',
	dictcodes: [],
	rowKey: 'id',
	api: {
		index: 'view_dpOperateRecord_page',
	},
	auth: {
		index: 'view_dpOperateRecord_page',
	},
	menuBtn: [
		{
			icon: 'detail',
			label: '查看详情',
			type: 'primary',
			operate: 'detail',
			auth: 'view_dpOperateRecord_page',
			text: true,
			show: true,
		},
	],
	dialogConfig: {
		width: '80%',
	},
	tableConfig,
}
